<?php
namespace app\admin\validate;

use think\Validate;
// session_start();
class User extends Validate
{
    protected $rule = [
        'name'  =>  'require',
        'headimg_url'  =>'require',
        'thumb_headimg_url'  =>'require',
    ];
    protected $message  =   [
        'name.require'  => '账户必须填写', 
        'headimg_url.require' => '必须上传图片',
        'thumb_headimg_url.require' => '必须上传图片',
    ];

}